package com.higold.cloud.mvp.model

import com.higold.cloud.mvp.model.bean.regionalList.RegionalList
import com.higold.cloud.net.RetrofitManager
import com.higold.cloud.rx.scheduler.SchedulerUtils
import io.reactivex.Observable

/**
 *    author : lxz
 *    date   : 2019/9/2 15:08
 *    desc   :
 */
class RegionalModel {

    /**
     * 获取排行榜
     */
    fun requestRegionalList(): Observable<RegionalList> {

        return RetrofitManager.service.getRegionalList(1)
                .compose(SchedulerUtils.ioToMain())
    }

}